package com.springmvc01.demo.pojo;


import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;


@Setter
@Getter
@ToString
public class Book {

    private Integer bookId;
    private String bookName;
    private String bookAuthor;
    private Double bookPrice;
    private Date bookDate;
    private String bookDesc;

    public Book() {}

    public Book(Integer bookId, String bookName, String bookAuthor, Double bookPrice, Date bookDate, String bookDesc) {
        this.bookId = bookId;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPrice = bookPrice;
        this.bookDate = bookDate;
        this.bookDesc = bookDesc;
    }


}